package cn.ahxb.frame.common.utils;

import java.text.DecimalFormat;

/**
 * Created by xuyougen on 2018/3/27.
 */

public class NumberTools {

    private static DecimalFormat decimalFormat = new DecimalFormat("0.00");

    public static String doubleTo2PointText(double d) {
        return decimalFormat.format(d);
    }
}
